@tailwind base;
@tailwind components;
@tailwind utilities;

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f5f5f5;
}

/* 覆盖 Ant Design 样式 */
.ant-btn {
  border-radius: 0.375rem;
}

.ant-input {
  border-radius: 0.375rem;
}

.ant-select:not(.ant-select-customize-input) .ant-select-selector {
  border-radius: 0.375rem;
}

.ant-card {
  border-radius: 0.5rem;
  overflow: hidden;
}

.ant-table {
  border-radius: 0.5rem;
  overflow: hidden;
}

.ant-modal-content {
  border-radius: 0.5rem;
  overflow: hidden;
}

.ant-tabs-tab {
  padding: 8px 16px !important;
}

.ant-tabs-tab + .ant-tabs-tab {
  margin-left: 8px !important;
}

.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
  font-weight: 500;
}

.ant-breadcrumb {
  font-size: 14px;
}

.ant-tag {
  margin-right: 0;
}

/* 自定义样式 */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
